home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-20
/
nos_kit3.zip
/
TED.DOC
< prev
next >
Wrap
Text File
|
1990-06-17
|
4KB
|
83 lines
T E D - Tiny EDitor by Tom Kihlken version 1.0
This tiny editor was published in "PC Magazine" volume 7 number 19.
The issue is dated November 15, 1988 and the article begins on page 281.
PURPOSE:
A small, full-screen editor for line-oriented files of up to 64k in
length that supports scrolling, cut, copy, paste, and printing
operations, and permits entry of all members of the IBM character set.
(Note: free memory required to run is ~131k bytes)
USAGE:
TED [filespec]
REMARKS:
TED will open and read a file whose name (and path, if required)
are supplied initially. If no filespec is provided, it will open a
new file and prompt for a filename when F7 is pressed to save
and exit. The original of a modified file is saved with a .BAK
extension. The ABORT command (F1), when verified, abandons any
modifications and leaves the original file intact.
Lines may be of any length, and each must be terminated by
pressing Enter. Lines longer than the screen width display a
diamond in the rightmost column. Off screen characters (up to
248 columns) may be viewed by using the Ctrl-arrow keys.
Lines may be broken by pressing Enter at any point, and may be
conflated by pressing Del at the line end.
A block of text is defined by toggling the MARK command (F4)
on and moving the cursor with the arrow keys. The marked area
is shown in inverse video. Pressing F3 prints the blocked text;
F5 (CUT) removes it to a buffer from which it can be pasted (F6)
at any point where the cursor is located. The paste buffer
remains intact until another section is marked and cut.
Pressing F8 deletes to the end of a line; F9 deletes the entire line.
F10 restores the most recent deletion of F8 or F9. The UNDO
command (F2) restores letters deleted by the Del (but not by the
Backspace) key if the cursor has not been moved.
The Home and End keys move the cursor to the beginning and
end of the current screen line; the Tab key moves to the next
column evenly divisible by eight. Text is entered in insert mode
by default; pressing the Ins key toggles to overstrike mode. TED
configures itself to the display in use and supports EGA and
VGA text modes other than the standard 80 columns by 25 rows.
PgUp and PgDn scroll the file by the number of rows displayed,
minus 5. Ctrl-PgUp and Ctrl-PgDn move to the top and bottom
of the file.
Any character in the IBM set can be entered by pressing the Alt
key, typing its ASCII value on the numeric keypad, then releasing
the Alt key.
KEYPAD COMMANDS EDITING FUNCTIONS
====================================== ======================================
KEY OPERATION KEY FCN OPERATION
====================================== ======================================
Up Arrow Cursor up 1 row F1 ABORT Exit without saving
Down Arrow Cursor down 1 row F2 UNDO Replace recently
Left Arrow Cursor left 1 column deleted characters
Right Arrow Cursor right 1 column F3 PRINT Prints marked text
-------------------------------------- F4 MARK Toggles mark state
PgUp Moves text window up on/off
one page F5 CUT Moves marked text to
PgDn Moves text window down paste buffer
one page F6 PASTE Inserts contents of
Home Moves cursor to start paste buffer
of row F7 EXIT Saves changes & exits
End Moves cursor to end F8 DEL EOL Deletes from cursor
of row to the end of the line
Ins Toggles insert/ F9 DEL L Deletes the current
overstrike mode line
Del Deletes character at F10 UDEL L Inserts the last
the cursor deleted line
--------------------------------------
Ctrl-PgUp Moves to top of file
Ctrl-PgDn Moves to bottom of file
Ctrl-RightArrow Moves text window right
eight columns
Ctrl-LeftArrow Moves text window left
eight columns